API Documentation
Projects -> Api Key
Connections
Data -> Catalogs
Data -> Internal Tables
Data -> Queries
Data -> Semantic Catalogs
Data -> Cache
Embedded Peaka Api
Supported Drivers
Data -> Metadata
- PUTUpdate Metadata
- PUTUpdate Relation From Metadata
- DELDelete Relation From Metadata
- PUTGenerate categorical values from the the column.
- POSTGenerate semantics for the table
- POSTAdd Relation To Metadata
- GETList of golden sqls for the project.
- POSTCreate golden sql for the project
- GETGet Project Metadata
- GETGet Project Catalog Metadata Relations
- GETGenerate sample ai questions for the project
- DELDelete golden sql from the project.
List Columns
See Data -> Catalog / List Columns for more details.
GET
/
data
/
projects
/
{projectId}
/
table
/
{tableName}
/
columns
curl --request GET \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/table/{tableName}/columns
[
{
"id": "<string>",
"name": "<string>",
"dataType": "<string>",
"displayName": "<string>",
"defaultValue": "<string>",
"isNotNull": true,
"isUnique": true
}
]
Response
200 - */*
OK
The id of the column.
The name of the column.
The data type of the column.
The display name of the column.
The default value of the column.
The not null flag for the column.
The unique flag for the column.
curl --request GET \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/table/{tableName}/columns
[
{
"id": "<string>",
"name": "<string>",
"dataType": "<string>",
"displayName": "<string>",
"defaultValue": "<string>",
"isNotNull": true,
"isUnique": true
}
]